package com.eedi.framework.tenant.service;

import com.eedi.framework.tenant.controller.sys.vo.setup.SysSetupBasicReq;
import com.eedi.framework.tenant.controller.sys.vo.setup.SysSetupBasicResp;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 基本设置
 *
 * @author zybourn
 */
@Validated
public interface SysSetupBasicService {
    /**
     * 获取当前租户的基本设置
     *
     * @return 基本设置信息
     */
    SysSetupBasicResp getSysSetupBasic();

    /**
     * 获取当前租户的基本设置
     * @param req 基本信息
     */
    void setup(@Valid @NotNull SysSetupBasicReq req);
}
